home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / repair / journal.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  846b  |  29 lines

  1. /* Copyright 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.    reiser4progs/COPYING.
  3.    
  4.    repair/journal.h -- reiserfs journal recovery structures and macros. */
  5.  
  6. #ifndef REPAIR_JOURNAL_H
  7. #define REPAIR_JOURNAL_H
  8.  
  9. #include <repair/repair.h>
  10.  
  11. extern errno_t repair_journal_open(reiser4_fs_t *fs, 
  12.                    aal_device_t *journal_device, 
  13.                    uint8_t mode, uint32_t options);
  14.  
  15. extern void repair_journal_invalidate(reiser4_journal_t *journal);
  16.  
  17. extern errno_t repair_journal_replay(reiser4_journal_t *journal, 
  18.                      aal_device_t *device);
  19.  
  20. extern void repair_journal_print(reiser4_journal_t *journal,
  21.                  aal_stream_t *stream);
  22.  
  23. extern errno_t repair_journal_pack(reiser4_journal_t *journal, 
  24.                    aal_stream_t *stream);
  25.  
  26. extern reiser4_journal_t *repair_journal_unpack(reiser4_fs_t *fs, 
  27.                         aal_stream_t *stream);
  28. #endif
  29.